home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGException.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  2KB  |  96 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGException.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGException_h__
  6. #define __gen_nsIDOMSVGException_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMSVGException */
  19. #define NS_IDOMSVGEXCEPTION_IID_STR "64e6f0e1-af99-4bb9-ab25-7e56012f0021"
  20.  
  21. #define NS_IDOMSVGEXCEPTION_IID \
  22.   {0x64e6f0e1, 0xaf99, 0x4bb9, \
  23.     { 0xab, 0x25, 0x7e, 0x56, 0x01, 0x2f, 0x00, 0x21 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMSVGException : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGEXCEPTION_IID)
  29.  
  30.   enum { SVG_WRONG_TYPE_ERR = 0U };
  31.  
  32.   enum { SVG_INVALID_VALUE_ERR = 1U };
  33.  
  34.   enum { SVG_MATRIX_NOT_INVERTABLE = 2U };
  35.  
  36.   /* readonly attribute unsigned short code; */
  37.   NS_IMETHOD GetCode(PRUint16 *aCode) = 0;
  38.  
  39. };
  40.  
  41. /* Use this macro when declaring classes that implement this interface. */
  42. #define NS_DECL_NSIDOMSVGEXCEPTION \
  43.   NS_IMETHOD GetCode(PRUint16 *aCode); 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  46. #define NS_FORWARD_NSIDOMSVGEXCEPTION(_to) \
  47.   NS_IMETHOD GetCode(PRUint16 *aCode) { return _to GetCode(aCode); } 
  48.  
  49. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  50. #define NS_FORWARD_SAFE_NSIDOMSVGEXCEPTION(_to) \
  51.   NS_IMETHOD GetCode(PRUint16 *aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCode(aCode); } 
  52.  
  53. #if 0
  54. /* Use the code below as a template for the implementation class for this interface. */
  55.  
  56. /* Header file */
  57. class nsDOMSVGException : public nsIDOMSVGException
  58. {
  59. public:
  60.   NS_DECL_ISUPPORTS
  61.   NS_DECL_NSIDOMSVGEXCEPTION
  62.  
  63.   nsDOMSVGException();
  64.  
  65. private:
  66.   ~nsDOMSVGException();
  67.  
  68. protected:
  69.   /* additional members */
  70. };
  71.  
  72. /* Implementation file */
  73. NS_IMPL_ISUPPORTS1(nsDOMSVGException, nsIDOMSVGException)
  74.  
  75. nsDOMSVGException::nsDOMSVGException()
  76. {
  77.   /* member initializers and constructor code */
  78. }
  79.  
  80. nsDOMSVGException::~nsDOMSVGException()
  81. {
  82.   /* destructor code */
  83. }
  84.  
  85. /* readonly attribute unsigned short code; */
  86. NS_IMETHODIMP nsDOMSVGException::GetCode(PRUint16 *aCode)
  87. {
  88.     return NS_ERROR_NOT_IMPLEMENTED;
  89. }
  90.  
  91. /* End of implementation class template. */
  92. #endif
  93.  
  94.  
  95. #endif /* __gen_nsIDOMSVGException_h__ */
  96.